package com.chemical.search.service;

import java.util.List;

import com.chemical.search.model.UserInfo;
import com.chemical.search.util.page.Page;
import com.chemical.search.util.query.PropertyFilter;


/**
 *@className:UserService.java
 *@classDescription:
 *@author:MChen
 *@createTime:2012-4-20
 */
public interface IUserManageService extends ServiceInterface<UserInfo> {
	
	/**
	 * 用户登录
	 * @param user
	 * @return
	 */
	public UserInfo login(UserInfo user);
	
	/**
	 * 显示所有用户
	 * @param page
	 * @return
	 */
	public Page findAllUsers(Page page,List<PropertyFilter> pfList);
	
	/**
	 * 检查用户名是否已存在
	 * @param userName
	 * @return
	 */
	public boolean checkUserName(String userName);
}
